﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Pahan.McuFusion.Scripting
{
    /// <summary>
    /// An abstraction for script engines.
    /// </summary>
    public abstract class McuFusionScriptEngine
    {
        /// <summary>
        /// Executes the file.
        /// </summary>
        public abstract void ExecuteFile(String path);

        /// <summary>
        /// Gets the value of the variable with the specified name.
        /// </summary>
        public abstract Object GetVariable(String name);

        /// <summary>
        /// Sets the value of the variable with the specified name.
        /// </summary>
        public abstract void SetVariable(String name, Object value);
    }
}
